import request from '../utils/request'

export function addMessage(data) {
    return request({
        url: '/uum-blog/api/v2/blog-msg/add',
        method: 'post',
        data
    })
}

export function queryMessage(data) {
    return request({
        url: '/uum-blog/api/v2/blog-msg/page/'+data,
        method: 'get'
    })
}

export function deleteMessage(data) {
    return request({
        url: '/uum-blog/api/v2/blog-msg/delete/'+data,
        method: 'delete'
    })
}
